<div class="layui-form-item">
  <label class="layui-form-label"><tip>{$value['desc']|default=''}</tip></label>
  <div class="layui-input-block">
    <input type="text" name="{$value['name']|default=''}" class="layui-input date" id="{$value['name']|default=''}" {if is_numeric($value['value'])}value="{:date('Y-m-d',$value['value'])}" {else}value="{$value['value']|default=''}"{/if}>
    <div><tip>{$value['tagging']|default=''}</tip></div>
  </div>
</div>